<div  style="padding:12px;">
	<!-- 选择筛选类型 -->
	<select  id = "search_select" ng-model="selectType" ng-options="item.id as item.name for item in selectTypes" ng-change="update()" class="form-control pull-left" style="width:150px;margin-right:5px;">
	</select>

	<!-- 选择班级 -->
	<select  id = "search_select2" ng-model="selectClass" ng-options="item.id as item.name for item in values" ng-change="update2()" class="form-control pull-left" style="width:150px;margin-right:5px;">  	
	</select>
	
	<!-- 手动输入 -->
	<div id = "search_input" class="input-group pull-left "style="width:200px;padding:0px;margin-right:10px;">
	    <input id="search_input" ng-model="content" ng-change="update3()" type="text" class="form-control" style="border-radius:4px;">	
	</div> 

    <button id="search_send_button" class="btn btn-default  btn-primary" type="button" style="margin-right:5px;">搜索</button>
    <button ng-click="reload()" class="btn btn-default  btn-primary" type="button" style="">显示全部</button>

    <div class="pull-right">
        <button  ng-click="jumpToUrl('/students_add')"type="button" class="btn btn-primary ">添加</button>
        <button ng-click="jumpToUrl('/students_file')" stype="button" class="btn btn-primary">上传</button>
    </div>
</div>

<table class="table" >
    <thead>
	    <tr>
	    	<th>序号</th>
	    	<th>班级</th>
	    	<th>学号</th>
	    	<th>姓名</th>	    	
	    	<th>性别</th>
	    	<th>家长</th>
	    	<th>关系</th>
	    	<th>家长身份证号</th>
	    	<th>家长电话</th>
	    	<th>备注</th>
	    	<th>操作</th>
	    </tr>
  	</thead>
  	<tbody>
	    <tr ng-repeat="student in students">
	    	<td >{{$index+1}}</td>
	    	<td>{{student.classes_grade}}{{student.classes_class}}</td>
	    	<td >{{student.stuid}}</td>	    	
	    	<td>{{student.name}}</td>
	    	<td>{{student.sex}}</td>
	    	<td>{{student.parents_name}}</td>
	    	<td>{{student.relation}}</td>
	    	<td>{{student.parents_nativeid}}</td>	    	
	    	<td>{{student.parents_tel}}</td>
	    	<td>{{student.remark}}</td>
	    	<td >
	    		<button ng-click="delete(student)" class="icon-trash btn  text-primary"style="padding:0 5px;background:#fff;border:none;font-size:18px;" ></button>
	    		<!-- <button ng-click="edit()" class="icon-pencil btn  text-primary"style="padding:0 5px;background:#fff;border:none;font-size:18px;" ></button> -->
	    		<a href="#/students/{{student.id}}"><button  class="icon-pencil btn btn-sm text-primary"></button></a>
	    	</td>
	    </tr>
  	</tbody>
</table>

<div  class="with-padding">
	<!-- 添加了bootstrap。css 和 tm.pagination.js -->
	<tm-pagination conf="paginationConf"></tm-pagination>

<!-- 	<ul class="pager" style="margin-left:25%">
        <li class="previous"><a href="#">« 上一页</a></li>
        <li><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li class="active"><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
        <li><a href="###" data-toggle="pager" data-placement="top">...</a></li>
        <li><a href="#">10</a></li>
        <li class="next"><a href="#">下一页 »</a></li>
     </ul> -->
</div>